var mongoose = require('mongoose');

var team_teamLists = new mongoose.Schema({
	teamId: {
		type: String,
		unique: true
	},
	teamName: {
		type: String,
		unique: true
	},
	memberNumber: {
		type: Number,
		default: 1
	},
	founder: {	//创始人id
		type: String,
		default: null
	},
	jobList: {
		type: Array,
		default: ['其它']
	},
	createTime:{
		type: Date,
		default: Date.now
	}
})

mongoose.model('team_teamLists', team_teamLists);